package com.hbm.myimage;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.hbm"})//防止扫不到common里面的config swagger
public class MyimageApplication extends SpringBootServletInitializer {


    public static void main(String[] args) {
        SpringApplication.run(MyimageApplication.class, args);
    }

}
